<template>
  <div class="header">
    <img class="icon" :src="img">
    <h1 class="text">music</h1>
    <router-link tag="div" class="mine " to="/user">
      <i class="iconfont icon-yonghu max item"></i>
    </router-link>
  </div>
</template>
<script type="text/ecmascript-6">
  export default{ name:'',
  data(){
  	return{ img:'https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKe2RTUdwAtgIHOrickeYWeLBq4AP5UJpPW9ibVTtZoJOwTmeF5b9fvaoqBmSia2yNNejWr66KiamQnoQ/0' } },

  	components:{} }
</script>
<style rel="stylesheet" lang="less">
.header {
  position: relative;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #ffcd32;
  font-size: 0;
}

.text {
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
}

.mine {
  position: absolute;
  top: 0;
  right: 0;
}
.icon{
	    vertical-align: top;
    margin-top: 6px;
    margin-right: 9px;
	width: 1.5625rem;
	height: 1.5625rem;
	border-radius: 50%;
}

</style>
